import type { VabRouteRecordRaw } from '../types'
import Layout from '/@vab/layouts/index.vue'
const corpManagementRouter: VabRouteRecordRaw[] = [
  {
    path: '/corp',
    name: 'Corp',
    component: Layout,
    meta: {
      title: '公司信息管理',
      icon: 'bar-chart-grouped-line',
    },
    children: [
      {
        path: 'corpCustomers',
        name: 'CorpCustomers',
        component: () =>
          import('/@/views/corpManagement/corpCustomers/index.vue'),
        meta: {
          title: '集团客户',
          icon: 'home-2-line',
        },
      },
      {
        path: 'groupCustomers',
        name: 'GroupCustomers',
        component: () =>
          import('/@/views/corpManagement/groupCustomers/index.vue'),
        meta: {
          title: '公司客户',
          icon: 'home-2-line',
        },
      },
      {
        path: 'otherCustomers',
        name: 'OtherCustomers',
        component: () =>
          import('/@/views/corpManagement/otherCustomers/index.vue'),
        meta: {
          title: '其他零散客户',
          icon: 'home-2-line',
        },
      },
    ],
  },
]

export default corpManagementRouter
